<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>邀请码-爆爆社区</title>
    <link rel="stylesheet" th:href="@{/bootstrap/css/bootstrap.min.css}">
</head>
<body>
<div th:replace="common/header::header(activeUrl='invite')"></div>

<main role="main" class="mt-3">
    <div class="container">
        <div class="alert alert-primary" role="alert">
           邀请码0点更新哦  先到先得
        </div>

        <div class="row">
            <div class="col-sm-6 col-md-3 text-center" th:each="invite:${invites}">
                <div class="thumbnail" style="margin-bottom: 10px;box-shadow: 2px 2px 2px 2px #b6cecb;border-radius: 2px">
                    <img th:src="@{/images/bg/haha.jpg}" style="border-radius: 50%">
                    <div class="caption" >
                        <p th:text="|邀请码:${invite.getCode()}|"></p>
                        <p><button type="button" href="#" data-toggle="popover" data-content="骗你的啦 自己输入" class="btn btn-primary" role="button">点击复制</button> </p>
                    </div>
                </div>
            </div>


        </div>
    </div>
</main>



<div th:replace="common/footer::footer"></div>
<a class="to-top">返回顶部</a>
<th:block th:replace="common/footer::script"></th:block>
<script>
    $(function () {
        $('[data-toggle="popover"]').popover()
    })
</script>
</body>
</html>